﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SpiceNet.Simulations;

namespace SpiceNet.Diagnostics
{
    /// <summary>
    /// Invalid job type for an analysis
    /// </summary>
    [Serializable]
    public class InvalidJobTypeException : CircuitException
    {
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="an"></param>
        public InvalidJobTypeException(Analysis an)
            : base(String.Format("Invalid job type for analysis {0}", an.Name))
        {

        }
    }
}
